//
//  FRTabBar.h
//  Live
//
//  Created by 徐芙蓉 on 2017/7/25.
//  Copyright © 2017年 Afra. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSUInteger, FRItemType) {
    FRItemTypeLaunch = 10, //启动直播
    FRItemTypeLive = 100, //展示直播
    FRItemTypeMe, //我的
};

@class FRTabBar;

typedef void(^TabBlock)(FRTabBar *tabbar, FRItemType idx);

@protocol FRTabBarDelegate <NSObject>

- (void) tabbar:(FRTabBar *)tabbar clickButton:(FRItemType)idx;

@end

@interface FRTabBar : UIView

@property (nonatomic, weak) id<FRTabBarDelegate>delegate;
@property (nonatomic, copy) TabBlock block;

@end
